package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class NftRegionBindingSaveDTO {

    @ApiModelProperty(value = "藏品id")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

    @ApiModelProperty(value = "省份id")
    @NotNull(message = "省份id不能为空")
    private Long provinceId;

    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "地区id")
    private Long regionId;

    @ApiModelProperty(value = "省份名字")
    @NotBlank(message = "省份名字不能为空")
    private String provinceName;

    @ApiModelProperty(value = "城市名字")
    private String cityName;

    @ApiModelProperty(value = "地区名字")
    private String regionName;
}
